import * as mdiIcons from '@iconify-json/mdi'

const svgs = import.meta.glob('@/assets/**/*.svg')
console.log('debug-> ~ mdiIcons:', mdiIcons)
console.log('debug-> ~ svgs:', svgs)
const svgMap: Record<string, string> = {}

for (const path in svgs) {
  const name = path.split('/').pop()?.split('.')[0]
  if (name) {
    svgMap[name] = path
  }
}
export default svgMap